<?php

namespace Core;

use Core\Database\QueryBuilder;

class Model
{
    protected static $table;

    public static function query()
    {
        $connection = app('connection');
        $queryBuilder = new QueryBuilder($connection);
        return $queryBuilder->table(static::$table);
    }
}
